#0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...
#F(n)=F(n−1)+F(n−2)

a,b = 0,1
print("100以内的斐波那契数列为：")
while a <= 100:
    print(a,end=" ")
    a,b=b,a+b  ##  a,b = b,a+b 一个等号